import { StoreOptions } from "vuex";
import ACCESS_ENUM from "@/access/accessEnum";
import {UserControllerService} from '../../../generated';
import router from "@/router";
import { Message } from "@arco-design/web-vue";


export default {
  namespaced: true,
  state: () => ({
    team: {}
  }),
  actions: {
    setCurEditTeam: ({commit}, team) => {
      commit('updateEditTeam', team);
    }
  },
  mutations: {
    updateEditTeam: (state, team) => {
      state.team = team;
      console.log('state,team', team);
    }
  }
} as StoreOptions<any>;
